<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%@taglib uri="/struts-dojo-tags" prefix="sx"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<sx:head parseContent="true" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style>
.addHouse br {
	display: none;
}
</style>
</head>
<body>
	<h2>房屋信息</h2>
	<s:form action="add" method="post" theme="simple">
房屋标题：<s:textfield id="title" name="title" value=""></s:textfield>
		<br>
		<!-- list,listKey,listValue不能随便写，要根据集合类型 -->
房屋类型：<s:select list="types" listKey="typeId" listValue="type"
			name="houseType" />
		<br>
		<div class="addHouse">
			房屋地址：
			<s:doubleselect name="district" list="map.keySet()"
				listKey="districtId" listValue="districtName"
				doubleListValue="streetName" doubleListKey="streetId"
				doubleList="map.get(top)" doubleName="street" />
		</div>
		<br>
发布时间：<sx:datetimepicker name="timer" label="" />
		<br>
备注：<s:textarea value="请添加备注信息。。。" name="remark"></s:textarea>
		<br>
		<s:submit value="发布信息"></s:submit>
	</s:form>
</body>
</html>